<?php
	/**
	*
	*
	*/
	class Mention {
	
		var $CODE_MENTION;
		var $NOM_MENTION;
		var $CODE_DOMAINE;
		
		var $domaine;
		/**
		* Retourne la liste des Mentions.	
		*
		*
		*/
		function getAllMention($domaine){
			$db = new Db();
			$db->connect();
			
				if($domaine!="")
				$req = $db->query("SELECT * FROM mention WHERE CODE_DOMAINE = $domaine order by NOM_MENTION");
				
				if($domaine==0)
				$req = $db->query("SELECT * FROM mention order by NOM_MENTION");
				
                $res = $db->fetchArray();
			
			return($res);	
			$db->disconnect();
		}
 
 	
	}

?>